var tts = require('node-tts-api');
var child_process = require('child_process');
var example = "Hello World";
 
tts.getSpeech(example, function(error, link) {
  child_process.exec('play '+link, function(err,stdout,stder){
    console.log(stdout);
    console.log(stder);
    if(err){
      console.log(err);
    }
  });
  return console.log(link);
});